package net.vsame.url2sql.dao;

import java.util.List;
import java.util.Map;

/**
 * 2012-10-10 下午9:36:32
 * @author <a href="mailto:gaollg@sina.com">Gaollg</a>
 */
public class Page<T extends Map<String, Object>> {
	/** 分页数据 */
	private List<T> list;
	/** 每页显示记录数 */
	private int pageSize = 12;
	/** 当前页 */
	private int pageNumber = 1;
	/** 总页数 */
	private long totalPage = 1;
	/** 总记录数 */
	private long totalRow;
	
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getPageNumber() {
		return pageNumber;
	}
	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}
	public long getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(long totalPage) {
		this.totalPage = totalPage;
	}
	public long getTotalRow() {
		return totalRow;
	}
	public void setTotalRow(long totalRow) {
		this.totalRow = totalRow;
	}
	
}

